package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 学生上学所在学校
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("student_at_school")
@ApiModel(value = "StudentAtSchool对象", description = "学生上学所在学校")
public class StudentAtSchool implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("学生所在学校名")
    private String name;

    @ApiModelProperty("0幼儿园，1小学，2初中，3高中")
    private Integer gradeSection;

    @ApiModelProperty("学区所属区域名，如（美兰区）")
    private String regional;

    @ApiModelProperty("1正常，0关闭")
    private Integer status;

    @ApiModelProperty("排序号")
    private Integer sort;

    private Integer deleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getGradeSection() {
        return gradeSection;
    }

    public void setGradeSection(Integer gradeSection) {
        this.gradeSection = gradeSection;
    }
    public String getRegional() {
        return regional;
    }

    public void setRegional(String regional) {
        this.regional = regional;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "StudentAtSchool{" +
            "id=" + id +
            ", name=" + name +
            ", gradeSection=" + gradeSection +
            ", regional=" + regional +
            ", status=" + status +
            ", sort=" + sort +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
        "}";
    }
}
